<style type="text/css">
	.tableTd {
	   	border-width: 0.5pt; 
		border: solid; 
	}
	.tableTdContent{
		border-width: 0.5pt; 
		border: solid;
	}
	#titles{
		font-weight: bolder;
	}
   
</style>
<table>
	<tr>
		<td><b>Danh Sách Sinh Viên<b></td>
	</tr>
	<tr>
		<td><b>Chi đoàn:</b></td>
		<td><?php echo $user['Z1user']['tenchidoan']; ?></td>
	</tr>
	<tr>
		<td><b>Tổng số:</b></td>
		<td style="text-align:left"><?php echo count($zdssvs);?></td>
	</tr>
	<tr>
		<td></td>
	</tr>
		<tr id="titles">
            <th class="tableTd"><?php __('STT');?></th>
			<th class="tableTd"><?php __('MSSV');?></th>
            <th class="tableTd"><?php __('Họ Tên');?></th>
            <th class="tableTd"><?php __('Phái');?></th>
            <th class="tableTd"><?php __('Ngày sinh');?></th>
            <th class="tableTd"><?php __('Nơi Sinh');?></th>
			<th class="tableTd"><?php __('Tôn giáo');?></th>
            <th class="tableTd"><?php __('Dân tộc');?></th>
			<th class="tableTd"><?php __('Phường xã');?></th>
			<th class="tableTd"><?php __('Địa chỉ');?></th>
			<th class="tableTd"><?php __('Số điện thoại');?></th>
			<th class="tableTd"><?php __('Email');?></th>
			<th class="tableTd"><?php __('Ngày vào đoàn');?></th>
			<th class="tableTd"><?php __('Nơi vào đoàn');?></th>
			<th class="tableTd"><?php __('Ngày vào đảng');?></th>
			<th class="tableTd"><?php __('Nơi vào đảng');?></th>
			<th class="tableTd"><?php __('Trưởng thành đoàn');?></th>
			<th class="tableTd"><?php __('Ghi chú');?></th>
		</tr>		
        <?php
	$i = 0;
	foreach ($zdssvs as $zdssv):
    $i++;
	?>
	<tr>
		<td class="tableTdContent">
			<?php echo $i; ?>
		</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['mssv']; ?>&nbsp;</td>
        <td class="tableTdContent"><?php echo $zdssv['Zdssv']['hoten']; ?>&nbsp;</td>
        <td class="tableTdContent"><?php echo $zdssv['Zdssv']['phai']; ?>&nbsp;</td>
        <td class="tableTdContent"><?php echo $zdssv['Zdssv']['ngaysinh']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['noisinh']; ?>&nbsp;</td>
        <td class="tableTdContent"><?php echo $zdssv['Zdssv']['tentongiao']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['tendantoc']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['tenphuongxa']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['diachi']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['sodienthoai']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['email']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['ngayvaodoan']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['noivaodoan']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['ngayvaodang']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['noivaodang']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['truongthanhdoan']; ?>&nbsp;</td>
		<td class="tableTdContent"><?php echo $zdssv['Zdssv']['ghichu']; ?>&nbsp;</td>
		
	</tr>
<?php endforeach; ?>
</table>

